﻿
Imports System.IO

Public Class title
    Inherits xhtmlControl

    Protected Overrides Function availableAttribute(ByVal key As String) As Boolean
#If CANNOT_DETERMINE Then
        Return attributesCollection.i18n(key) OrElse _
                strsame(key, "id")
#Else
        Return attributesCollection.i18n(key)
#End If
    End Function

    Public Sub New(Optional ByVal buff As Stream = Nothing)
        MyBase.New(buff, "title")
        'ie cannot handle a title without any text, so leave this line
        text = "NO_TITLE"
    End Sub

End Class
